<template>
    <div class="studentifo">
        <h3 v-text="msg"></h3>
        <p>学生姓名：{{name}}</p>
        <p>年龄：{{age}}</p>
    </div>
</template>

<script>

export default {
    name:"StudentNa",
    data(){
        return {
            msg:"学生个人信息",
            name:'xiaoming',
            age:21
        }
    },
}
</script>

<style >
    .studentifo{
        background-color: black;
    }
</style>